import { Post, Get } from '@/hooks/useRequest';
export default {
  login: Post<{ username: string; password: string }>('/v1/login', { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }, true),
  // register: Post<{ username: string; password: string; mobeil: string }>('/v1/admin/register', true),
  register: Post<{ username: string; password: string; mobeil: string }>('/v1/admin/register', null, true)
};
